package com.foreknow.elmboot.service;

import com.foreknow.elmboot.po.DeliveryAddress;

import java.util.List;

public interface DeliveryAddressService {
    //根据用户编号查询所属送货地址
    public List<DeliveryAddress> squeryById(String userId);
    //根据送货地址编号查询送货地址
    public DeliveryAddress squeryDABbId(Integer daId);
    //向送货地址表中添加一条记录
    public int sinsert(String contactName,Integer contactSex,String contactTel,String address,String userId);
    //根据送货地址编号更新送货地址信息
    public int supdate(DeliveryAddress deliveryAddress);
    //根据送货地址编号删除一条记录
    public int sdelete(Integer daId);
}
